package com.enba.rbacadmin.module.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.enba.rbacadmin.module.auth.entity.Menu;
import java.util.Set;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 菜单表 Mapper 接口
 *
 * @author 恩爸编程
 * @since 2025-02-28
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

  // 用户所有权限码值
  Set<String> getUserPermsKey(@Param("userId") Long userId);
}
